using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KieuHuongTroCapEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: KieuHuongTroCapEntity</para>
	/// <para>Description: ClassKieuHuongTroCapEntity store data of table KieuHuongTroCap</para>
	///</summary>

	[DataContract]
	public partial class KieuHuongTroCapEntity{


		private bool _InternalChangedIsNullKieuHuongTroCap_ID=true;
		private bool _IsNullKieuHuongTroCap_ID=true;
		private bool _InternalChangedIsNullLoaiDoiTuongTroCap_ID=true;
		private bool _IsNullLoaiDoiTuongTroCap_ID=true;
		private bool _InternalChangedIsNullKhoanTien_ID=true;
		private bool _IsNullKhoanTien_ID=true;
		private bool _InternalChangedIsNullMucTroCap=true;
		private bool _IsNullMucTroCap=true;
		private bool _InternalChangedIsNullKieuTroCap=true;
		private bool _IsNullKieuTroCap=true;
		private int _KieuHuongTroCap_ID;
		private int _LoaiDoiTuongTroCap_ID;
		private int _KhoanTien_ID;
		private Decimal _MucTroCap;
		private Byte _KieuTroCap;
		[DataMember]
		public bool IsNullKieuHuongTroCap_ID{
			get{return _IsNullKieuHuongTroCap_ID;}
			set{if(!_InternalChangedIsNullKieuHuongTroCap_ID)_IsNullKieuHuongTroCap_ID=value;}
		}
		[DataMember]
		public bool IsNullLoaiDoiTuongTroCap_ID{
			get{return _IsNullLoaiDoiTuongTroCap_ID;}
			set{if(!_InternalChangedIsNullLoaiDoiTuongTroCap_ID)_IsNullLoaiDoiTuongTroCap_ID=value;}
		}
		[DataMember]
		public bool IsNullKhoanTien_ID{
			get{return _IsNullKhoanTien_ID;}
			set{if(!_InternalChangedIsNullKhoanTien_ID)_IsNullKhoanTien_ID=value;}
		}
		[DataMember]
		public bool IsNullMucTroCap{
			get{return _IsNullMucTroCap;}
			set{if(!_InternalChangedIsNullMucTroCap)_IsNullMucTroCap=value;}
		}
		[DataMember]
		public bool IsNullKieuTroCap{
			get{return _IsNullKieuTroCap;}
			set{if(!_InternalChangedIsNullKieuTroCap)_IsNullKieuTroCap=value;}
		}
		[DataMember]
		public int KieuHuongTroCap_ID{
			get{return _KieuHuongTroCap_ID;}
			set{
				_KieuHuongTroCap_ID=value;
				if(_KieuHuongTroCap_ID!=null){
					_IsNullKieuHuongTroCap_ID=false;
					_InternalChangedIsNullKieuHuongTroCap_ID=true;
				}
			}
		}
		[DataMember]
		public int LoaiDoiTuongTroCap_ID{
			get{return _LoaiDoiTuongTroCap_ID;}
			set{
				_LoaiDoiTuongTroCap_ID=value;
				if(_LoaiDoiTuongTroCap_ID!=null){
					_IsNullLoaiDoiTuongTroCap_ID=false;
					_InternalChangedIsNullLoaiDoiTuongTroCap_ID=true;
				}
			}
		}
		[DataMember]
		public int KhoanTien_ID{
			get{return _KhoanTien_ID;}
			set{
				_KhoanTien_ID=value;
				if(_KhoanTien_ID!=null){
					_IsNullKhoanTien_ID=false;
					_InternalChangedIsNullKhoanTien_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal MucTroCap{
			get{return _MucTroCap;}
			set{
				_MucTroCap=value;
				if(_MucTroCap!=null){
					_IsNullMucTroCap=false;
					_InternalChangedIsNullMucTroCap=true;
				}
			}
		}
		[DataMember]
		public Byte KieuTroCap{
			get{return _KieuTroCap;}
			set{
				_KieuTroCap=value;
				if(_KieuTroCap!=null){
					_IsNullKieuTroCap=false;
					_InternalChangedIsNullKieuTroCap=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KieuHuongTroCapEntityBase*****************************************/
	/*****************************************************************************************************/
}

